package com.css.fxfzxczh.modules.synthesizeInfoManage.personnelManagement.entity;

import com.css.fxfzxczh.modules.util.BaseEntity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotEmpty;


/**
 * @Author: zhangSongRui
 * @CreateTime: 2023/01/10
 * @Description: 现场人员信息管理
 */
@Data
@Validated
@ApiModel("现场人员信息管理实体")
public class PersonnelManagement extends BaseEntity {
    //id
    private String xpimId;
    //地震事件管理id
    @NotEmpty(message = "id不能为空！")
    @ApiModelProperty(name = "xsemId", value = "地震事件管理id")
    private String xsemId;
    //省id
    private String provinceId;
    //市id
    private String cityId;
    //县id
    private String countyId;
    //人员姓名
    @NotEmpty
    @ApiModelProperty(name = "personName", value = "人员姓名")
    private String personName;
    //性别
    @ApiModelProperty(name = "gender", value = "性别")
    @NotEmpty
    private String gender;
    //电话
    @NotEmpty
    @ApiModelProperty(name = "tel", value = "电话")
    private String tel;
    //现场人员类别
    @NotEmpty
    @ApiModelProperty(name = "category", value = "现场人员类别")
    private String category;
    //描述信息
    @ApiModelProperty(name = "commentInfo", value = "描述信息")
    private String commentInfo;
    //创建人单位
    @ApiModelProperty(name = "company", value = "创建人单位")
    private String company;
    //现场人员单位
    @NotEmpty
    @ApiModelProperty(name = "unit", value = "创现场人员单位人")
    private String unit;
    //现场人员角色
    @ApiModelProperty(name = "role", value = "现场人员角色")
    private String role;
    //角色删除
    private String roleDeletion;
    //人员账号id
    private String uuid;

    //创建人名称
    private String userName;
}
